package com.example.xiaoyi.weiju.Activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.xiaoyi.weiju.R;

public class loginActivity extends Activity {
    Button buttonloading;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
   setContentView(R.layout.mainactiviy);
        buttonloading=(Button)findViewById(R.id.btn_loading);
        buttonloading.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(loginActivity.this,MainActivity.class);
                startActivity(intent);
            }
        });
    }
}
